#include <QPainter>
#include "FrameWidget.hxx"

FrameWidget::FrameWidget(QWidget *parent):QWidget(0)
{
}

void FrameWidget::paintEvent(QPaintEvent *event)
{
    QPainter painter(this);
    painter.end();
}

void FrameWidget::setImage(const uchar *image, int width, int height)
{
    _imageData = image;
    _imageWidth = width;
    _imageHeight = height;
}
